﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OAZCSharpSdk.TyphoonInfo.Model
{
    public class TyphoonInfo
    {
        public string centerlat { get; set; }

        public string centerlng { get; set; }

        public DateTime endtime { get; set; }

        public string enname { get; set; }

        public string isactive { get; set; }

        public List<TyphoonInfo.Land> land { get; set; }

        public string name { get; set; }

        public List<TyphoonInfo.Point> points { get; set; }

        public DateTime starttime { get; set; }

        public string tfid { get; set; }

        public string warnlevel { get; set; }

        public class Point
        {
            public string ckposition { get; set; }

            public TyphoonInfo.Forecast[] forecast { get; set; }

            public string jl { get; set; }

            public string lat { get; set; }

            public string lng { get; set; }

            public string movedirection { get; set; }

            public string movespeed { get; set; }

            public string power { get; set; }

            public string pressure { get; set; }

            public string radius10 { get; set; }

            public string radius12 { get; set; }

            public string radius7 { get; set; }

            public string speed { get; set; }

            public string strong { get; set; }

            public string time { get; set; }
        }

        public class Land
        {
            public string info { get; set; }

            public string landaddress { get; set; }

            public string landtime { get; set; }

            public string lat { get; set; }

            public string lng { get; set; }

            public string strong { get; set; }
        }

        public class Forecast
        {
            public TyphoonInfo.Forecastpoint[] forecastpoints { get; set; }

            public string tm { get; set; }
        }

        public class Forecastpoint
        {
            public string lat { get; set; }

            public string lng { get; set; }

            public string power { get; set; }

            public string pressure { get; set; }

            public string speed { get; set; }

            public string strong { get; set; }

            public string time { get; set; }
        }
    }
}
